
export default ({
  state: {
    is_record: false, // 是否为录像
    a_steps: "", // 每一步的操作
    b_steps: "",
    record_loser: "", 
  },
  getters: {
  },
  mutations: { // 修改数据
    updateIsRecord(state, is_record) {
      state.is_record = is_record;
    },
    updateSteps(state, data) {
      state.a_steps = data.a_steps;
      state.b_steps = data.b_steps;
    },
    updateRecordLoser(state, loser) {
      state.record_loser = loser
    },
  },
  actions: {
  },
  modules: {
  }
})
